I'm beginner with Phalcon and I'm currently trying to understand it. If I want to make a method for responing ajax request, what is the corrent way to disable the view rendering. Use:
- $this->view->setRenderLevel(View::LEVEL_NO_RENDER ) or
- $this->view->disable()
What is the diffrence between them? Thank you